package com.ahu.dao;

import com.ahu.pojo.User;

import java.util.List;
import java.util.Map;

/**
 * Author: Zhang Dongwei
 * Date: 2022/4/30 15:48
 */
public interface UserMapper {

//    根据id查询用户
    User getUserById(int id);

    // 分页
    List<User> getUserByLimit(Map<String, Integer> map);

    // 分页2
    List<User> getUserByRowBounds();

}
